package br.com.esporte.negocios.exception;

import java.util.List;

public class EsportesException extends RuntimeException {

	private static final long serialVersionUID = 7725470500940921231L;

	private List<EsportesException> exceptions;

	public EsportesException(List<EsportesException> exceptions) {
		this.exceptions = exceptions;
	}

	public EsportesException(String msg) {
		super(msg);
	}

	public List<EsportesException> getExceptions() {
		return exceptions;
	}

	public void setExceptions(List<EsportesException> exceptions) {
		this.exceptions = exceptions;
	}

}
